﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ECCSystem.BizRule
{ 
    class ClsMailCategory
    {
        DataAccess.ClsMailCategory objDAMC = new ECCSystem.DataAccess.ClsMailCategory();
        public ClsMailCategory()
        { }
        //Get all MailCategory records list
        public object GetList()
        {
            return objDAMC.GetMailCategory();
        }

		public void AddCategory(string strMailCategoryName, string txtComment, string txtPoint, int intFlg)
        {
			objDAMC.AddCategory(strMailCategoryName, txtComment, txtPoint, intFlg);

        }
        public void DeleteCategory(string strID)
        {
			objDAMC.DeleteCategory(strID);
        }

		public void UpdateCategory(string strID, string fotPoint, string strName, string strComment, int intFlg)
		{
			objDAMC.UpdateCategory(strID, fotPoint, strName, strComment, intFlg);
		}
    }
}
